home *** CD-ROM | disk | FTP | other *** search
/ The Beauty of Chaos / Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso / mac / gifconverter2.37.cpt.hqx / GIFConverter 2.3.7.rsrc / bin.rsrc_CODE_56_ReadJPEG.txt < prev    next >
Text File  |  1994-01-29  |  45KB  |  769 lines

  1. # near model CODE resource
  2. # jump table entries: 21272-21272 (1 of them)
  3. 00000000  4E56 FFE8                link       A6, -0x0018
  4. 00000004  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  5. 00000008  282E 0010                move.l     D4, [A6 + 0x10]
  6. 0000000C  286E 0008                movea.l    A4, [A6 + 0x8]
  7. 00000010  2044                     movea.l    A0, D4
  8. 00000012  4A90                     tst.l      [A0]
  9. 00000014  6606                     bne        +0x8 /* 0000001C */
  10. 00000016  7AFF                     moveq.l    D5, 0xFFFFFFFF
  11. 00000018  6000 0088                bra        +0x8A /* 000000A2 */
  12. label0000001C:
  13. 0000001C  422E FFFF                clr.b      [A6 - 0x1]
  14. 00000020  4245                     clr.w      D5
  15. 00000022  2044                     movea.l    A0, D4
  16. 00000024  2650                     movea.l    A3, [A0]
  17. 00000026  486E FFFF                pea.l      [A6 - 0x1]
  18. 0000002A  4EAD 054A                jsr        [A5 + 0x54A /* export_165 */]
  19. 0000002E  202E 000C                move.l     D0, [A6 + 0xC]
  20. 00000032  D08B                     add.l      D0, A3
  21. 00000034  B0AC 0008                cmp.l      D0, [A4 + 0x8]
  22. 00000038  6F60                     ble        +0x62 /* 0000009A */
  23. 0000003A  2C2C 0008                move.l     D6, [A4 + 0x8]
  24. 0000003E  9C8B                     sub.l      D6, A3
  25. 00000040  2F0B                     move.l     -[A7], A3
  26. 00000042  2F2C 0004                move.l     -[A7], [A4 + 0x4]
  27. 00000046  2F06                     move.l     -[A7], D6
  28. 00000048  4EAD 0422                jsr        [A5 + 0x422 /* export_128 */]
  29. 0000004C  2E2C 0010                move.l     D7, [A4 + 0x10]
  30. 00000050  9E86                     sub.l      D7, D6
  31. 00000052  BEAC 000C                cmp.l      D7, [A4 + 0xC]
  32. 00000056  6F04                     ble        +0x6 /* 0000005C */
  33. 00000058  2E2C 000C                move.l     D7, [A4 + 0xC]
  34. label0000005C:
  35. 0000005C  4A87                     tst.l      D7
  36. 0000005E  6734                     beq        +0x36 /* 00000094 */
  37. 00000060  2D47 FFE8                move.l     [A6 - 0x18], D7
  38. 00000064  4267                     clr.w      -[A7]
  39. 00000066  486E FFE8                pea.l      [A6 - 0x18]
  40. 0000006A  2006                     move.l     D0, D6
  41. 0000006C  D0AC 0004                add.l      D0, [A4 + 0x4]
  42. 00000070  2F00                     move.l     -[A7], D0
  43. 00000072  2F14                     move.l     -[A7], [A4]
  44. 00000074  4EAD 4EDA                jsr        [A5 + 0x4EDA /* export_2519 */]
  45. 00000078  3A1F                     move.w     D5, [A7]+
  46. 0000007A  2007                     move.l     D0, D7
  47. 0000007C  91AC 000C                sub.l      [A4 + 0xC], D0
  48. 00000080  2006                     move.l     D0, D6
  49. 00000082  D0AC 0004                add.l      D0, [A4 + 0x4]
  50. 00000086  D087                     add.l      D0, D7
  51. 00000088  2940 0008                move.l     [A4 + 0x8], D0
  52. 0000008C  90AC 0004                sub.l      D0, [A4 + 0x4]
  53. 00000090  2940 0010                move.l     [A4 + 0x10], D0
  54. label00000094:
  55. 00000094  2044                     movea.l    A0, D4
  56. 00000096  20AC 0004                move.l     [A0], [A4 + 0x4]
  57. label0000009A:
  58. 0000009A  486E FFFF                pea.l      [A6 - 0x1]
  59. 0000009E  4EAD 054A                jsr        [A5 + 0x54A /* export_165 */]
  60. label000000A2:
  61. 000000A2  3D45 0014                move.w     [A6 + 0x14], D5
  62. 000000A6  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  63. 000000AA  4E5E                     unlink     A6
  64. 000000AC  205F                     movea.l    A0, [A7]+
  65. 000000AE  DEFC 000C                add.w      A7, 0xC
  66. 000000B2  4ED0                     jmp        [A0]
  67. 000000B4  8C4A                     or.w       D6, A2
  68. 000000B6  5045                     addq.w     D5, 8
  69. 000000B8  4752                     chk.w      D3, [A2]
  70. 000000BA  4541                     chk.w      D2, D1
  71. 000000BC  4444                     neg.w      D4
  72. 000000BE  4154                     chk.w      D0, [A4]
  73. 000000C0  4100                     .invalid   0, D0 // invalid opcode 4 with b == 4
  74. 000000C2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  75. // begin alternate branch 000000C4-000000CA
  76. fn000000C4:
  77. 000000C4  4E56 0000                link       A6, 0
  78. 000000C8  2F0C                     move.l     -[A7], A4
  79. // end alternate branch 000000C4-000000CA
  80. fn000000C4: // (misaligned)
  81. 000000C6  0000 2F0C                ori.b      D0, 0xC
  82. 000000CA  286E 0008                movea.l    A4, [A6 + 0x8]
  83. label000000CE:
  84. 000000CE  1F3C 0001                move.b     -[A7], 0x1
  85. 000000D2  4EAD 4EA2                jsr        [A5 + 0x4EA2 /* export_2512 */]
  86. 000000D6  4267                     clr.w      -[A7]
  87. 000000D8  486C FFFE                pea.l      [A4 - 0x2]
  88. 000000DC  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  89. 000000E0  4EAD 4EE2                jsr        [A5 + 0x4EE2 /* export_2520 */]
  90. 000000E4  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  91. 000000E8  0C6C 00FF FFFE           cmpi.w     [A4 - 0x2], 0xFF
  92. 000000EE  66DE                     bne        -0x20 /* 000000CE */
  93. 000000F0  206C 000C                movea.l    A0, [A4 + 0xC]
  94. 000000F4  70FF                     moveq.l    D0, 0xFFFFFFFF
  95. 000000F6  B0A8 0006                cmp.l      D0, [A0 + 0x6]
  96. 000000FA  661E                     bne        +0x20 /* 0000011A */
  97. 000000FC  4267                     clr.w      -[A7]
  98. 000000FE  206C 000C                movea.l    A0, [A4 + 0xC]
  99. 00000102  4868 0006                pea.l      [A0 + 0x6]
  100. 00000106  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  101. 0000010A  4EAD 4F02                jsr        [A5 + 0x4F02 /* export_2524 */]
  102. 0000010E  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  103. 00000112  206C 000C                movea.l    A0, [A4 + 0xC]
  104. 00000116  53A8 0006                subq.l     [A0 + 0x6], 1
  105. label0000011A:
  106. 0000011A  4267                     clr.w      -[A7]
  107. 0000011C  486C FFFE                pea.l      [A4 - 0x2]
  108. 00000120  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  109. 00000124  4EAD 4EE2                jsr        [A5 + 0x4EE2 /* export_2520 */]
  110. 00000128  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  111. 0000012C  4267                     clr.w      -[A7]
  112. 0000012E  486C FFF8                pea.l      [A4 - 0x8]
  113. 00000132  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  114. 00000136  4EAD 4F02                jsr        [A5 + 0x4F02 /* export_2524 */]
  115. 0000013A  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  116. 0000013E  285F                     movea.l    A4, [A7]+
  117. 00000140  4E5E                     unlink     A6
  118. 00000142  2E9F                     move.l     [A7], [A7]+
  119. 00000144  4E75                     rts
  120. 00000146  8947 4554                pack       D4, D7, 0x4554
  121. 0000014A  4D41                     chk.w      D6, D1
  122. 0000014C  524B                     addq.w     A3, 1
  123. 0000014E  4552                     chk.w      D2, [A2]
  124. 00000150  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  125. 00000154  0000 2F0C                ori.b      D0, 0xC
  126. 00000158  286E 0008                movea.l    A4, [A6 + 0x8]
  127. 0000015C  206C 000C                movea.l    A0, [A4 + 0xC]
  128. 00000160  70FF                     moveq.l    D0, 0xFFFFFFFF
  129. 00000162  B0A8 0006                cmp.l      D0, [A0 + 0x6]
  130. 00000166  6734                     beq        +0x36 /* 0000019C */
  131. 00000168  2F3C 0001 0000           move.l     -[A7], 0x10000
  132. 0000016E  206C 000C                movea.l    A0, [A4 + 0xC]
  133. 00000172  2028 0006                move.l     D0, [A0 + 0x6]
  134. 00000176  5280                     addq.l     D0, 1
  135. 00000178  2F00                     move.l     -[A7], D0
  136. 0000017A  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  137. 0000017E  4EAD 4EFA                jsr        [A5 + 0x4EFA /* export_2523 */]
  138. 00000182  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  139. 00000186  206C 000C                movea.l    A0, [A4 + 0xC]
  140. 0000018A  70FF                     moveq.l    D0, 0xFFFFFFFF
  141. 0000018C  2140 0006                move.l     [A0 + 0x6], D0
  142. 00000190  206E 0008                movea.l    A0, [A6 + 0x8]
  143. 00000194  2C48                     movea.l    A6, A0
  144. 00000